package com.itfenghuang.bean;

import java.util.List;

/**
 * 班级实体类
 */
public class Cla {
    private Integer cid;
    private String cname;
    private String cteacher;
    //对象属性
    @Override
    public String toString() {
        return "Cla{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", cteacher='" + cteacher + '\'' +
                '}';
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCteacher() {
        return cteacher;
    }

    public void setCteacher(String cteacher) {
        this.cteacher = cteacher;
    }

    public Cla() {
    }

    public Cla(Integer cid, String cname, String cteacher) {
        this.cid = cid;
        this.cname = cname;
        this.cteacher = cteacher;
    }
}
